package com.aiit.dao;

import com.aiit.pojo.ALog;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ALogDao {
    //查询所有的日志
    List<ALog> queryAll();

    //新增日志
    int addLog(ALog log);

    //根据id查询日志
    ALog getLogById(int id);

    //根据id删除日志
    int deleteLogById(int id);
}
